<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>地球</title>
    <style>
        body {
            background: #000 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/184191/background.png');
        }

        .globe {
            width: 280px;
            height: 280px;
            background: #07132f;
            border-radius: 50%;
            position: absolute;
            left: 50%;
            top: 50%;
            margin-left: -140px;
            margin-top: -140px;
            overflow: hidden;
            box-shadow: 0 0 55px rgba(20, 100, 255, 0.7);
            border: 1px solid #0089dd;
            border-right: none;
            transform: rotateZ(15deg);
        }

        .globe::after {
            content: "";
            width: 90px;
            height: 100%;
            background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
            position: absolute;
            right: 0;
        }

        .globe::before {
            content: "";
            width: 90px;
            height: 100%;
            background: linear-gradient(to right, rgba(10, 130, 255, 0.6), rgba(0, 0, 0, 0));
            position: absolute;
            left: 0;
            z-index: 3;
        }

        .globe-texture {
            position: absolute;
            left: -360px;
            animation: spin 30s linear infinite;
            content: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/184191/earth_copy.jpg);
            height: 320px;
            background-size: cover;
        }

        @keyframes spin {
            0% {
                left: -845px;
            }

            100% {
                left: -185px;
            }
        }
    </style>
</head>

<body>
    <div class="globe">
        <div class="globe-texture"></div>
    </div>
</body>

</html>